home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000175_icon-group-sender_Mon Dec 18 14:14:34 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id eBILE3c09757
for icon-group-addresses; Mon, 18 Dec 2000 14:14:03 -0700 (MST)
Message-Id: <200012182114.eBILE3c09757@baskerville.CS.Arizona.EDU>
Date: Mon, 18 Dec 2000 20:01:03 +0100 (CET)
From: <ethanak@mail.jubiler.pl>
To: icon-group@cs.arizona.edu
Subject: Re: Stepping
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 594
On Fri, 15 Dec 2000, Steve Wampler wrote:
> On Fri, Dec 15, 2000 at 08:12:26PM -0000, John Sampson wrote:
> >
> > dummy := read()
> >
[...]
> >
> > if dummy == "q" then stop
[cut out something]
May be it will help:
if read() == "q" then stop("As you wish")
In this case the condition will be true ONLY if you really enter "q".
If you will enter ^d, read() will fail and then all condition will fail.
In real life - it's better:
if upto('q',read()) then ...
or something similar :)
Regards
ethanak
http://ethanak.i.sex.pl
PS. Sorry, i can READ in English, but not WRITE :(